package com.dx.mapper.user;

import com.dx.entity.user.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author YU.TAN
 * @since 2023-07-22
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> listRoleByUserId(@Param("userId") Long userId);
}
